<!doctype html>
<html lang="en-US">

<head>
  <meta charset="UTF-8">
  <meta name="keywords" content="ningto，C/C++，C++，Qt，Golang，Node.js，Bug，Nginx，MySQL，Redis，NoSQL，Mongodb, Shell，JavaScript，Win32，Socket，Boost，Python，Windows, Linux, CentOS，GUI，客户端，移动互联网，技术博客"/>
  <meta name="description" content="Ningto's blog：C/C++，C++，Qt，Golang，Node.js，Bug，Nginx，MySQL，Redis，NoSQL，Mongodb, Shell，JavaScript，Win32，Socket，Boost，Python，GUI, Windows, Linux, CentOS等各类互联网技术"/>
  <meta name="viewport" content="width=device-width, initial-scale=1"/>
  <link rel="profile" href="https://ningto.com">
  <title>学习中的点滴分享 - Ningto's Blog</title>
  <link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
  <link rel='stylesheet' href='/static/css/style.css?ver=20210424' type='text/css' media='all' />
  <link rel='stylesheet' href='/static/css/font-awesome.min.css?ver=5.6.1' type='text/css' media='all' />
  <link rel='stylesheet' href='/static/css/my.css?ver=20210424' type='text/css' media='all' />
  <script type='text/javascript' src='/static/js/jquery.min.js?ver=3.5.1'></script>
  {{ template "extend_head" }}
</head>

<body class="blog custom-background hfeed header-image categories-hidden author-hidden">
  <div id="page" class="site">
    <header id="masthead" class="sheader site-header clearfix">
      <div class="content-wrap">
        <!-- Header background color and image is added to class below -->
        <div class="header-bg">
          <div class="site-branding">
            <!-- If you are viewing the a sub page, make the title a paragraph -->
            <p class="site-title"><a href="/" rel="home">欢迎访问Ningto's博客</a></p>
          </div>
        </div>
      </div>
      <!-- Navigation below these lines, move it up if you want it above the header -->
      <nav id="primary-site-navigation" class="primary-menu main-navigation clearfix">
        <a href="#" class="smenu-hide toggle-mobile-menu menu-toggle" aria-controls="secondary-menu"
          aria-expanded="false">Menu</a>
        <div class="content-wrap text-center">
          <div class="center-main-menu">
            <div class="menu-main-menu-container">
              <ul class="pmenu">
                <li class="menu-item"><a href="/">首页</a></li>
                <li class="menu-item"><a href="/archive">归档</a></li>
                <li class="menu-item"><a href="/about">关于</a></li>
                <li class="menu-item"><a href="/post/59edecd82be91645212c9981">书签</a></li>
                <!-- <li class="menu-item"><a href="/aichat">智能闲聊</a></li> -->
                <li class="menu-item"><a href="/bingpage">必应壁纸</a></li>
                <li class="menu-item"><a href="/gather">IT聚合</a></li>
                <li class="menu-item menu-item-has-children">
                  <a href="/tools">工具</a>
                  <ul id="tools-menu" class="sub-menu">
                    <li class="menu-item"><a href="/tools">我的工具列表</a></li>
                    <li class="menu-item"><a target="_blank" href="http://f.ningto.com/home">我的网盘</a></li>
                    <li class="menu-item"><a href="/api/bingtoday">必应每日壁纸API</a></li>
                    <li class="menu-item"><a href="/html2markdown">Html转Markdown</a></li>
                    <li id="fairy-dust-cursor" class="menu-item"><a href="javascript:void(0)">仙尘光标</a></li>
                  </ul>
                </li>
                {{ if $.token }}
                <li class="menu-item">
                  <a target="_blank" href="/admin/edit">写文章</a>
                </li>
                {{ end }}
              </ul>
            </div>
          </div>
        </div>
      </nav>
      <div class="content-wrap">
        <div class="super-menu clearfix">
          <div class="super-menu-inner">
            <a href="#" class="toggle-mobile-menu menu-toggle" aria-controls="secondary-menu"
              aria-expanded="false">Menu</a>
          </div>
        </div>
      </div>
      <div id="mobile-menu-overlay"></div>
      <!-- Navigation above these lines, move it up if you want it above the header -->
    </header>
    <div class="content-wrap">
      <!-- Upper widgets -->
      <div class="header-widgets-wrapper">
      </div>
    </div>
    <div id="content" class="site-content clearfix">
      <div class="content-wrap">
        <div class="content-wrap-bg">
          {{ if .HideRightSidebar }}
          <main id="main" class="site-main">
            {{ template "content" .content }}
          </main><!-- #main -->
          {{ else }}
          <div id="primary" class="featured-content content-area">
            <main id="main" class="site-main">
              {{ template "content" .content }}
            </main><!-- #main -->
          </div><!-- #primary -->

          <aside id="secondary" class="featured-sidebar widget-area">
            <section class="widget_text fbox swidgets-wrap widget">
              <div class="textwidget custom-html-widget">
                <div class="btn"><a href="mailto:toningto@outlook.com"><i class="fa fa-envelope"></i> toningto@outlook.com</a></div>
              </div>
            </section>
            <section class="fbox swidgets-wrap widget widget_search">
              <form role="search" method="get" class="search-form" action="/search">
                <label>
                  <span class="screen-reader-text">Search for:</span>
                  <input type="search" class="search-field" placeholder="Search &hellip;" value="{{ .content.Keyword }}"
                    name="s" />
                </label>
                <input type="submit" class="search-submit" value="Search" />
              </form>
            </section>
            {{ template "hotposts" .content }}
            {{ template "recommendposts" .content }}
            {{ template "tags" .content }}
            {{ template "qrcode" .content }}
            {{ template "friendlinks" .content }}
            {{ template "popularize" .content }}
            {{ template "others" .content }}
          </aside>
          {{ end }}
        </div>
      </div><!-- #content -->
      <div class="content-wrap">
        <footer id="colophon" class="site-footer clearfix">
          <div class="footer-column-wrapper">
            <div class="site-info">
              Copyright © 2016 Welcome To Ningto Blog
              <!-- Delete below lines to remove copyright from footer -->
              <span class="footer-info-right">
                | <a href="https://beian.miit.gov.cn/" rel="nofollow">鄂ICP备17003086号-2</a>
              </span>
              <!-- Delete above lines to remove copyright from footer -->
            </div>
          </div>
        </footer><!-- #colophon -->
      </div>
    </div><!-- #page -->
    <div id="smobile-menu" class="mobile-only"></div>
  </div>
  <div class="back_to_top"><img src="/static/img/back-top.png" alt=""></div>
  <span class="js-cursor-container"></span>
  <script type='text/javascript' src='/static/js/script.js?ver=20160720'></script>
  {{ template "extend_script" }}
  <script>
    (function back_to_top() {
      var lastBttStatus = false;
      window.addEventListener('scroll', function (event) {
        var scrollTop = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;
        var bttStatus = scrollTop > 400
        if (bttStatus != lastBttStatus) {
          lastBttStatus = bttStatus
          if (bttStatus) {
            jQuery('.back_to_top').fadeIn(300);
          } else {
            jQuery('.back_to_top').fadeOut(300);
          }
        }
      });
      jQuery('.back_to_top').click(function () {
        jQuery('body,html').animate({
          scrollTop: 0
        }, 800);
      })
    })()
  </script>
</body>

</html>

{{ define "content" }}{{ end }}
{{ define "hotposts" }}{{ end }}
{{ define "recommendposts" }}{{ end }}
{{ define "qrcode" }}{{ end }}
{{ define "friendlinks" }}{{ end }}
{{ define "popularize" }}{{ end }}
{{ define "others" }}{{ end }}
{{ define "extend_head" }}{{ end }}
{{ define "extend_script" }}{{ end }}

<!--Generated by Endurance Page Cache-->